package com.yanghui.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Log {
    private Integer id;

    private String userType;

    private String ip;

    private String description;

    private String param;

    @DateTimeFormat(pattern = "yyyy-MM-dd hh-mm-ss")
    private Date addTime;
}